package com.sam.im.heiqun.mvp.contract;


import com.sam.im.heiqun.entities.MyCircleItem;
import com.sam.im.heiqun.mvp.modle.CommentConfig;
import com.sam.im.heiqun.mvp.modle.CommentItem;
import com.sam.im.heiqun.mvp.modle.FavortItem;

import java.util.List;

/**
 * Created by suneee on 2016/7/15.
 */
public interface CircleContract {

    interface View extends BaseView{
        void update2DeleteCircle(String circleId);
        void update2AddFavorite(int circlePosition, FavortItem addItem);
        void update2DeleteFavort(int circlePosition);
        void update2AddComment(int circlePosition, CommentItem addItem,CommentConfig config);
        void update2DeleteComment(int circlePosition, String commentId);
        void updateEditTextBodyVisible(int visibility, CommentConfig commentConfig);
        void showGiftSelecter(int visibility, CommentConfig commentConfig);
        void update2loadData(int loadType, List<MyCircleItem.ListBean> datas,int type);
    }

    interface Presenter extends BasePresenter{
        void loadData(int loadpage,String userid,int type);
        void deleteCircle(final String circleId);
        void addFavort(final int circlePosition);
        void deleteFavort(final int circlePosition);
        void deleteComment(final int circlePosition, final String commentId);

    }
}
